Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix entity restriction in dropdown #548

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

cedric-anne
Copy link
Contributor

fixes #547

  1. the wrong variable was evaluated
  2. right: 'all' should be defined only for User dropdown
  3. add a entity_sons: true to Entity dropdowns

For Entity dropdown, using entity_sons seems mandatory, otherwise only one value would be proposed. On other fields, maybe we should add a recursive boolean to dropdown in order to giv ability to administrator to define the value to pass to entity_sons.

@cedric-anne cedric-anne merged commit 9b79bc8 into pluginsGLPI:develop Jul 4, 2022
@cedric-anne cedric-anne deleted the fix/entity-restrict branch September 29, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Afficher les sous-entités dans le champ
2 participants